[Manager Summary]

PMPrintDialogMain


Displays a custom print dialog box.
OSStatus PMPrintDialogMain(PMPrintSettings printSettings, PMPageFormat constPageFormat, Boolean *accepted, PMPrintDialogInitUPP myInitProc)
PARAMETERS
printSettings
A PMPrintSettings object previously created by your application for this printing session. The PMPrintDialogMain function initially displays in a dialog box the printing settings stored in this object. If the user selects different settings and confirms the dialog box, PMPrintDialogMain updates this object with the user's new settings.
constPageFormat
A PMPageFormat object previously created by your application for this printing session. The PMPrintDialogMain function initially displays in a dialog box the page format settings stored in this object, which remains unaltered by this function.
accepted
A pointer to a Boolean value of TRUE if the user confirms the dialog box, FALSE if the user clicks the Cancel button.
myInitProc
A pointer of type PMPrintDialogInitUPP to your own initialization function.
function result
A result code. See Result Codes.
DISCUSSION
Use the PMPrintDialogMain function to display a print dialog box that your application has altered. (If you use the standard print dialog box, you do not need to call PMPrintDialogMain. Instead, you can simply call the function PMPrintDialog.

CARBON PORTING NOTES
 The PMPrintDialogMain function replaces the Dialog Manager function PrDlgMain.

SPECIAL CONSIDERATIONS
A new panel interface under development will make this function unnecessary.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.